import { http } from '@/utils/http/axios';

export function listShutdownReason(data = {}) {
  return http.request({
    url: '/admin/base/shutdownReason/list',
    method: 'get',
    data,
  });
}

export function pageShutdownReason(data = {}) {
  return http.request({
    url: '/admin/base/shutdownReason/page',
    method: 'post',
    data,
  });
}

export function addShutdownReason(data = {}) {
  return http.request({
    url: '/admin/base/shutdownReason/add',
    method: 'post',
    data,
  });
}

export function updateShutdownReason(data = {}) {
  return http.request({
    url: '/admin/base/shutdownReason/update',
    method: 'post',
    data,
  });
}

export function delShutdownReason(data = {}) {
  return http.request({
    url: '/admin/base/shutdownReason/delete',
    method: 'post',
    data,
  });
}
